<template>
    <van-skeleton title :row="15" :loading="loading">
        <div id="payRes" class="fs-15 fw-400">
            <div
                class="res-icon dis-flex flex-dir-column flex-x-center flex-y-center"
            >
                <img src="../../../assets/img/success.png" alt="" />
                <span>支付成功</span>
            </div>
            <div class="info">
                <div class="info-item dis-flex flex-x-between flex-y-center">
                    <span>支付金额</span>
                    <span>199元</span>
                </div>
                <div class="info-item dis-flex flex-x-between flex-y-center">
                    <span>支付编号</span>
                    <span>2023092612483649838</span>
                </div>
                <div class="info-item dis-flex flex-x-between flex-y-center">
                    <span>支付方式</span>
                    <span>微信</span>
                </div>
                <div class="info-item dis-flex flex-x-between flex-y-center">
                    <span>领取时间</span>
                    <span>2024-04-12 12:35:06</span>
                </div>
            </div>
        </div>
    </van-skeleton>
</template>

<script>
    export default {
        props: [], // 父辈向子辈传参
        name: 'payRes',
        components: { // 组件的引用

        },
        data() {
            return {
                loading:true,
                payInfo:{}
            }
        },
        methods: {
            getPayInfo(){
                this.loading = false
            }
        },
        computed: {},
        watch: {},
        created() { },
        mounted() { 
            this.getPayInfo()
        },
    }
</script>
    
<style scoped lang='scss'>
    #payRes {
        height: 100vh;
        background-color: #f6f8fa;
        padding: 0 15px;
        line-height: 22px;
        color: #0b1526;
        .res-icon {
            padding-top: 56px;
            & > img {
                width: 60px;
                height: 60px;
                margin-bottom: 14px;
            }
        }

        .info {
            width: 345px;
            background: #ffffff;
            border-radius: 10px;
            padding: 0 15px;
            box-sizing: border-box;
            margin-top: 30px;
            .info-item {
                border-bottom: 1px solid #f6f8fa;
                padding: 15px 0;
                & > span:nth-child(1) {
                    color: #5d667b;
                }
            }
        }
    }
</style>